#define _CRT_SECURE_NO_WARNINGS  1

#include"SL.h"

int main()
{
	struct SeqList ps = { 0 };
	SeqListInit(&ps);
	SeqListPushBack(&ps, 1);
	SeqListPushBack(&ps, 2);
	SeqListPushBack(&ps, 3);
	SeqListPushBack(&ps, 4);
	SeqListPushBack(&ps, 5);
	SeqListPushFront(&ps, 6);
	SeqListPushFront(&ps, 7);
	SeqListPushFront(&ps, 8);
	SeqListPopFront(&ps);
	SeqListPopFront(&ps);
	SeqListPopBack(&ps);
	SeqListInsert(&ps, 3, 100);
	SeqListPrint(&ps);

	SeqListErase(&ps, 2);

	SeqListPrint(&ps);
	printf("%d", SeqListFind(&ps, 4));

	SeqListDestroy(&ps);
	return 0;
}